#include "beep.h"
#include "Delay.h"
void Beep_do()
{
    BEEPCtrl = 1;
    Delay(35);
    BEEPCtrl = 0;
    Delay(215);
}
void Beep_re()
{
    BEEPCtrl = 1;
    Delay(70);
    BEEPCtrl = 0;
    Delay(180);
}
void Beep_mi()
{
    BEEPCtrl = 1;
    Delay(105);
    BEEPCtrl = 0;
    Delay(145);
}
void Beep_fa()
{
    BEEPCtrl = 1;
    Delay(140);
    BEEPCtrl = 0;
    Delay(110);
}
void Beep_sol()
{
    BEEPCtrl = 1;
    Delay(175);
    BEEPCtrl = 0;
    Delay(75);
}
void Beep_la()
{
    BEEPCtrl = 1;
    Delay(210);
    BEEPCtrl = 0;
    Delay(40);
}
void Beep_xi()
{
    BEEPCtrl = 1;
    Delay(245);
    BEEPCtrl = 0;
    Delay(5);
}
void Beep_open()
{
    Beep_do();
    Beep_mi();
    Beep_sol();
    Beep_xi();
}
void Beep_close()
{
    Beep_mi();
    Beep_do();
    Beep_sol();
    Beep_re();
}
void Beep_err()
{
    Beep_re();
    Beep_fa();
    Beep_sol();
    Beep_xi();
}
